<h1>Applications List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Account</th>
      <th>Name</th>
      <th>Name en</th>
      <th>Age</th>
      <th>Minzu</th>
      <th>Height</th>
      <th>Weight</th>
      <th>Bwh</th>
      <th>Occupation</th>
      <th>Education</th>
      <th>College</th>
      <th>Address</th>
      <th>Id card</th>
      <th>Phone</th>
      <th>Qq</th>
      <th>Native place</th>
      <th>Contact</th>
      <th>Relation</th>
      <th>Contact phone</th>
      <th>Introduction</th>
      <th>Hobby</th>
      <th>Watchword</th>
      <th>Picture</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($applications as $application): ?>
    <tr>
      <td><a href="<?php echo url_for('application/edit?id='.$application->getId()) ?>"><?php echo $application->getId() ?></a></td>
      <td><?php echo $application->getAccountId() ?></td>
      <td><?php echo $application->getName() ?></td>
      <td><?php echo $application->getNameEn() ?></td>
      <td><?php echo $application->getAge() ?></td>
      <td><?php echo $application->getMinzu() ?></td>
      <td><?php echo $application->getHeight() ?></td>
      <td><?php echo $application->getWeight() ?></td>
      <td><?php echo $application->getBwh() ?></td>
      <td><?php echo $application->getOccupation() ?></td>
      <td><?php echo $application->getEducation() ?></td>
      <td><?php echo $application->getCollege() ?></td>
      <td><?php echo $application->getAddress() ?></td>
      <td><?php echo $application->getIdCard() ?></td>
      <td><?php echo $application->getPhone() ?></td>
      <td><?php echo $application->getQq() ?></td>
      <td><?php echo $application->getNativePlace() ?></td>
      <td><?php echo $application->getContact() ?></td>
      <td><?php echo $application->getRelation() ?></td>
      <td><?php echo $application->getContactPhone() ?></td>
      <td><?php echo $application->getIntroduction() ?></td>
      <td><?php echo $application->getHobby() ?></td>
      <td><?php echo $application->getWatchword() ?></td>
      <td><?php echo $application->getPicture() ?></td>
      <td><?php echo $application->getCreatedAt() ?></td>
      <td><?php echo $application->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('application/new') ?>">New</a>
